import {createPinia} from 'pinia'
// https://pinia.vuejs.org/
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' //引入持久化插件

// 创建
const pinia = createPinia()

pinia.use(piniaPluginPersistedstate) //将插件添加到 pinia 实例上
export default pinia